package com.xzx.guazi.controller;

import com.xzx.guazi.service.GuaziService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.io.IOException;

@Controller
public class GuziController {

    @Autowired
    private GuaziService guaziService;

    @GetMapping("/get/info")
    @ResponseBody
    public String getGuaziWebInfo() throws IOException {
        return guaziService.getGuaziWebInfo();
    }
}
